package com.jic.market.request.rest.coupon;

import com.jic.market.request.rest.base.RestBaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author wwb
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("更改优惠券状态")
public class CouponStatusRequest extends RestBaseRequest {

    @NotNull(message = "缺少 券状态 参数")
    @ApiModelProperty("券状态 1:可使用 2:已使用")
    private Integer status;

    @NotNull(message = "优惠券列表")
    @ApiModelProperty(value = "优惠券列表", required = true)
    private List<String> couponCodeList;

}
